<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        ul{
           margin-left: 20px;
            list-style: none;
            display: flex;
            border-bottom: 1.5px solid #E01222;
        }
        li{

            background-color:#fff ;
            color:#fff;
            width:80px;
            height:40px;
            justify-content: center;
            line-height: 40px;
            display: flex;
            font-size: 13px;
            color: #333333;
            font-weight: 300;
            padding-bottom: 10px;
            box-sizing: border-box;
        }
        .active{
            background-color: #E01222;
            color: #fff;
        }
        li:hover{
            background-color: #E01222;
            color: #fff; 
        }
    </style>
</head>
<body>
    <ul>
        <li class="active">京东秒杀</li>
        <li>手机频道</li>
        <li>秒杀抢购</li>
        <li>限时特价</li>
    </ul>
</body>
</html>